import type { FormSchema } from '@/components/core/schema-form/';

export const schemas: FormSchema[] = [
  {
    field: 'illegalAct',
    component: 'InputTextArea',
    label: '①',
    rules: [{ required: true, message: '请输入违法行为' }],
    componentProps: () => {
      return {
        placeholder: '请输入违法行为',
      };
    },
  },
  {
    field: 'evidence',
    component: 'InputTextArea',
    label: '②',
    rules: [{ required: true, message: '请输入隐患信息' }],
    componentProps: () => {
      return {
        placeholder: '请输入隐患信息',
      };
    },
  },
  {
    field: 'regulation',
    component: 'InputTextArea',
    label: '③',
    rules: [{ required: true, message: '请输入法律法规' }],
    componentProps: () => {
      return {
        placeholder: '请输入法律法规',
      };
    },
  },
  {
    field: 'orgName',
    component: 'Input',
    label: '④',
    rules: [{ required: true, message: '请输入机构名称' }],
    componentProps: () => {
      return {
        placeholder: '请输入机构名称',
      };
    },
  },
  {
    field: 'courtName',
    component: 'Input',
    label: '⑤',
    rules: [{ required: true, message: '请输入法院名称' }],
    componentProps: () => {
      return {
        placeholder: '请输入法院名称',
      };
    },
  },
];
